<!-- 头部 -->
<include file="Public:header" />

        <div class="index-wrapper" style="padding-bottom: 10px;">
            <!-- 楼层显示 -->
            <div style="height: 80px;background: #fff;">
                <div style="padding-top: 15px;">
                    <div style="width: 33%;height: 50px;text-align: center;float: left;border-right: 1px solid #F3F5F6;">
                        <p style="font-size: 16px;">发起一起捐</p>
                        <span style="font-size: 16px;display: block;padding: 10px;">{$count}个</span>
                    </div>
                    <div style="width: 33%;height: 50px;text-align: center;float: left;border-right: 1px solid #F3F5F6;">
                        <p style="font-size: 16px;">小伙伴参与</p>
                        <span style="font-size: 16px;display: block;padding: 10px;">{$rs_count}人</span>
                    </div>
                    <div style="width: 33%;height: 40px;text-align: center;float: left;">
                        <p style="font-size: 16px;">共筹数量</p>
                        <span style="font-size: 16px;display: block;padding: 10px;">{$sum}本</span>
                    </div>
                </div>
            </div>
            <div style="height: 10px;"></div>
            <div class="product-list" style="background: #fff;padding-top: 10px;margin: 0px;min-height: 525px;">
            <?php foreach ($faqis as $v) { ?>
                <a href="{:U('faqi/fqfx',array('id'=>$v['id']))}" style="width: 100%;">
                    <div style="float: left;border: 1px solid #FAFAFA;"><img src="__ROOT__{$v['imgs']?$v['imgs']:$v['xm_img']}" alt="" style="width: 136px;height: 100px;"></div>
                    <div style="height: 110px;padding-left: 160px;border-bottom: 1px solid #dbd0d0;">
                        <p style="font-size: 18px;padding-bottom: 10px;">{$v.xm_name}</p>
                        <p style="font-size: 14px;color: #A4A4A4;16px;padding-bottom: 5px;">已筹数量：<span style="color: #FF8814;">{$v.fq_num}</span> 本</p>
                        <p style="font-size: 14px;color: #A4A4A4;">参与人数：<span style="color: #FF8814;"><?php echo re_fqcount($v['id'])?></span> 人</p>
                    </div>
                </a>
            <?php } ?>
            </div>
            <!-- 底部 -->
            <div class="tabbar-section" style="text-align: center;font-size: 12px;background: #fff;padding-bottom: 10px;">
                <ul id="J-tabbar" class="ui-flex">
                    <li class="cell">
                        <a class="tabbar-nav" href="{:U('index/index')}">
                            <img src="__PUBLIC__/home/images/sy1.png" alt=""><p style="font-size: 15px;">首页</p>
                        </a>
                    </li>
                    <li class="cell J-other">
                    <?php if (!empty(session('name'))) { ?>
                        <a class="tabbar-nav" href="{:U('setup/index')}">
                            <img src="__PUBLIC__/home/images/fq2.png" alt=""><p style="font-size: 15px;">创建</p>
                        </a>
                    <?php } else { ?>
                        <a class="tabbar-nav" href="{:U('user/login')}">
                            <img src="__PUBLIC__/home/images/fq2.png" alt=""><p style="font-size: 15px;">创建</p>
                        </a>
                    <?php } ?>
                    </li>
                    <li class="cell J-other">
                        <a class="tabbar-nav" href="{:U('index/xms')}">
                            <img src="__PUBLIC__/home/images/xm3.png" alt=""><p style="font-size: 15px;">项目</p>
                        </a>
                    </li>
                    <li class="cell J-other">
                    <?php if (!empty(session('name'))) { ?>
                        <a class="tabbar-nav" href="{:U('user/yhzx')}">
                            <img src="__PUBLIC__/home/images/xwd4.png" alt=""><p style="color:#FF9027;font-size: 15px;">我的</p>
                        </a>
                    <?php } else { ?>
                        <a class="tabbar-nav" href="{:U('user/login')}">
                            <img src="__PUBLIC__/home/images/wd4.png" alt=""><p style="font-size: 15px;">我的</p>
                        </a>
                    <?php } ?>
                    </li>
                </ul>
            </div>
        </div>
    </body>
</html>